package com.hxk.behaviorMode.observer.jdk;

import java.util.Observable;

public class ConcreteSubject extends Observable{
	
	private int state;
	
	public void updateState(int state_) {
		state = state_;
		super.setChanged();
		super.notifyObservers(state_);
	}

	public int getState() {
		return state;
	}

}
